Skip to main content

Query Response

Description

This is the response to the PatientSearch Query.

API endpoints for Query Response

Sync REST API Endpoint to call the API: https://{base_url}/api/v1/patient-search/query-response.

Async REST API Endpoint to call the API: https://{base_url}/api/v1/endpoint.

Intraconnects Unified Model

Data Model JSON for Query Response

QueryResponse - Sample Payload
{
"Meta": {
"DataModel": "PatientSearch",
"EventType": "Response",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "21bd1c0e-f56f-4cc6-a4cc-04f3b988f63c",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "ebbfe5e2-eab5-4f5c-9891-08cb1a86a3dc",
"Name": "Patient Search Endpoint"
}
],
"Logs": [
{
"ID": "8e5008b9-a6b5-4764-a4ce-e6d998e02d03",
"AttemptID": "15c76e4f-122e-4a84-b1ef-986d46ce6839"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null,
"IsIncomplete": false
},
"Patient": {
"Identifiers": [
{
"ID": "0000000001",
"IDType": "MR"
},
{
"ID": "8db321aa-d48c-483b-9751-7cfdc748c14c",
"IDType": "EHRID"
},
{
"ID": "095eb965-190d-4dad-a637-3afe5de0da6d",
"IDType": "NIST"
}
],
"Demographics": {
"FirstName": "Mark ",
"MiddleName": "Allen",
"LastName": "Brown",
"DOB": "2008-01-06",
"SSN": "101-01-0001",
"Sex": "Male",
"Race": "White",
"IsHispanic": null,
"Religion": null,
"MaritalStatus": "Single",
"IsDeceased": null,
"DeathDateTime": null,
"PhoneNumber": {
"Home": "+18088675301",
"Office": null,
"Mobile": null
},
"EmailAddresses": [],
"Language": "en",
"Citizenship": [],
"Address": {
"StreetAddress": "234 Mountain View Street",
"City": "San Jose",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
}
},
"Notes": [],
"Contacts": [
{
"FirstName": "Gracy",
"MiddleName": null,
"LastName": "Brown",
"Address": {
"StreetAddress": "4762 Mountain View Street",
"City": "San Jose"",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": {
"Home": "+18078675303",
"Office": "+17787543758",
"Mobile": "+19109368865"
},
"RelationToPatient": "Mother",
"EmailAddresses": [
"gracy.brown@test.net"
],
"Roles": [
"Emergency Contact"
]
}
],
"PCP": {
"NPI": "4356789876",
"ID": "4356789876",
"IDType": "NPI",
"FirstName": "Davis",
"LastName": "Wilson",
"Credentials": [
"MD"
],
"Address": {
"StreetAddress": "High Street",
"City": "San Jose"",
"State": "CA",
"ZIP": "53703",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+16085551234"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"Guarantor": {
"Number": "10001910",
"FirstName": "Kent",
"MiddleName": null,
"LastName": "Allen",
"SSN": null,
"DOB": null,
"Sex": null,
"Spouse": {
"FirstName": "Gracy",
"LastName": "Allen"
},
"Address": {
"StreetAddress": "1234 High Street",
"City": "San Jose"",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": {
"Home": null,
"Business": null,
"Mobile": null
},
"EmailAddresses": [],
"Type": null,
"RelationToPatient": "Father",
"Employer": {
"Name": "Digitech Labs",
"Address": {
"StreetAddress": "1456 Old Hill Road",
"City": "San Jose"",
"State": "CA",
"ZIP": "53719",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": "+18083451121"
}
},
"Insurances": [
{
"Plan": {
"ID": "31572",
"IDType": "Payor ID",
"Name": "HMO Plan",
"Type": null
},
"MemberNumber": null,
"Company": {
"ID": "60054",
"IDType": null,
"Name": "aetna (60054 0131)",
"Address": {
"StreetAddress": "PO Box 14080",
"City": "San Jose"",
"State": "CA",
"ZIP": "40512-4079",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": "+18089541123"
},
"GroupNumber": "847025-024-0009",
"GroupName": "Digitech Labs",
"EffectiveDate": "2015-01-01",
"ExpirationDate": "2020-12-31",
"PolicyNumber": "9140860055",
"Priority": null,
"AgreementType": null,
"CoverageType": null,
"Insured": {
"Identifiers": [],
"LastName": null,
"MiddleName": null,
"FirstName": null,
"SSN": null,
"Relationship": null,
"DOB": null,
"Sex": null,
"Address": {
"StreetAddress": null,
"City": null,
"State": null,
"ZIP": null,
"County": null,
"Country": null
}
}
}
]
},
"PotentialMatches": []
}